<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!-- 屏蔽tomcat 自带的 EL表达式 -->
<%@ page isELIgnored="false" %>  
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
    <meta charset="UTF-8">
    <title>用户信息</title>
    <link rel="stylesheet" type="text/css" href="${ctx}/static/bootstrap/bootstrap.css" media="all">
	<script type="text/javascript" src="${ctx}/static/js/jquery-1.12.4.min.js"></script>
	
	<script type="text/javascript" src="${ctx}/static/layer/layer.js"></script>
	<script type="text/javascript" src="${ctx}/static/js/form.js"></script>
	<script type="text/javascript" src="${ctx}/static/js/ajax.js"></script>
	<script type="text/javascript" src="${ctx}/static/bootstrap/bootstrap.js"></script>
	<script>
		var ctx = "${ctx}";
		function initInfo(data){//如果data中数据不全或者数据不能完全展示页面信息，需要重新加载
   		 $('#userform').initForm(data); 
   	 	}
	</script>
	
</head>
<body style="padding-top: 8px;">

	<div class="container-fluid">
		<div class="row-fluid">
			<div class="span12">
				<form role="form" id="userform" class="form-horizontal "
					data-validator-option="{theme:'yellow_right', timely:3, stopOnError:false,focusCleanup:true,invalidClass: 'has-error', bindClassTo: '.form-group'}">
					<div class="form-group">
						<label for="realName" class="col-sm-2 control-label">realName</label>
						<div class="col-sm-3">
							<input type="text" class="form-control" id="realName"
								name="realName" placeholder="请输入realName" data-rule="required">
						</div>
						<label for="name" class="col-sm-2 control-label">name</label>
						<div class="col-sm-3">
							<input type="text" class="form-control" id="name" name="name"
								placeholder="请输入name" data-rule="required">
						</div>
					</div>
					<div class="form-group">
						<label for="email" class="col-sm-2 control-label">email</label>
						<div class="col-sm-3">
							<input type="text" class="form-control" id="email" name="email"
								placeholder="请输入email">
						</div>
						<label for="userId" class="col-sm-2 control-label">userId</label>
						<div class="col-sm-3">
							<input type="text" class="form-control" id="userId" name="userId"
								placeholder="请输入userId">
						</div>
					</div>
					<div class="form-group">
						<label for="sex" class="col-sm-2 control-label">sex</label>
						<div class="col-sm-3">
							<input type="text" class="form-control" id="sex" name="sex"
								placeholder="请输入sex">
						</div>
					</div>
					<div class="form-group">
						<label for="realName" class="col-sm-2 control-label">realName</label>
						<div class="col-sm-3">
							<input type="text" class="form-control" id="realName1"
								name="realName1" placeholder="请输入realName" data-rule="required">
						</div>
						<label for="name" class="col-sm-2 control-label">name</label>
						<div class="col-sm-3">
							<input type="text" class="form-control" id="name1" name="name1"
								placeholder="请输入name" data-rule="required">
						</div>
					</div>

				</form>
			</div>
		</div>
	</div>
</body>
</html>
